package com.entity;

import java.io.Serializable;

public class BoardDTO implements Serializable {
	private int num;
	private String author;
	private String title;
	private String content;
	private int readcnt;
	private String writeDay;
	private int reqRoot;
	private int reqStep;
	private int repIndent;
	
	public BoardDTO() {
		
	}
	
	public BoardDTO(int num, String author, String title, String content,
			int readcnt, String writeDay, int reqRoot, int reqStep,
			int repIndent) {
		super();
		this.num = num;
		this.author = author;
		this.title = title;
		this.content = content;
		this.readcnt = readcnt;
		this.writeDay = writeDay;
		this.reqRoot = reqRoot;
		this.reqStep = reqStep;
		this.repIndent = repIndent;
	}

	public int getNum() {
		return num;
	}

	public void setNum(int num) {
		this.num = num;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public int getReadcnt() {
		return readcnt;
	}

	public void setReadcnt(int readcnt) {
		this.readcnt = readcnt;
	}

	public String getWriteDay() {
		return writeDay;
	}

	public void setWriteDay(String writeDay) {
		this.writeDay = writeDay;
	}

	public int getReqRoot() {
		return reqRoot;
	}

	public void setReqRoot(int reqRoot) {
		this.reqRoot = reqRoot;
	}

	public int getReqStep() {
		return reqStep;
	}

	public void setReqStep(int reqStep) {
		this.reqStep = reqStep;
	}

	public int getRepIndent() {
		return repIndent;
	}

	public void setRepIndent(int repIndent) {
		this.repIndent = repIndent;
	}

	@Override
	public String toString() {
		return "BoardDTO [num=" + num + ", author=" + author + ", title="
				+ title + ", content=" + content + ", readcnt=" + readcnt
				+ ", writeDay=" + writeDay + ", reqRoot=" + reqRoot
				+ ", reqStep=" + reqStep + ", repIndent=" + repIndent + "]";
	}	
}
